# This example has been taken from a book "Practical programming in Tcl and Tk"
# 4th edition, by Brent B. Welch
#
# Part 1: Tcl Basics
# Chapter 1. Tcl fundamentals
# Example 1-11 Embedded command and variable substitution

set x 7; set y 9;
puts stdout $x+$y=[expr $x + $y]
# => 7+9=16